package dao.pojo;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

/**
 * DeviceLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "wchat_yun", catalog = "cloud_ifw")
public class WchatYun extends BasePojo implements java.io.Serializable {

	// Fields

	private Long id;
	private String wchatId;
	private String yunId;

	@Override
	public Object getEntityId() {
		// TODO Auto-generated method stub
		return id;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "wchat_id", nullable = false, length = 64)
	public String getWchatId() {
		return wchatId;
	}

	public void setWchatId(String wchatId) {
		this.wchatId = wchatId;
	}

	@Column(name = "yun_id", nullable = false, length = 32)
	public String getYunId() {
		return yunId;
	}

	public void setYunId(String yunId) {
		this.yunId = yunId;
	}

}